package com.zlm.design.facade;

/**
 * @author zlm
 * @date 2025/4/21
 */
public class MySQL implements ServerFacade {

    void initData(){
        System.out.println("初始化MySQL数据");
    }
    void checkLog(){
        System.out.println("检查MySQL日志");
    }
    void unlock(){
        System.out.println("MySQL释放锁");
    }
    void listenPort(){
        System.out.println("监听MySQL端口");
    }

    @Override
    public void start() {
        initData();
        checkLog();
        unlock();
        listenPort();
    }
}
